const actions ={
  increment({commit},goods){
    return new Promise((resolve,reject)=>{
      commit('incr',goods)
      resolve('添加购物车成功！')
    })
  }
}

export default actions